<!--{template @admin/header}--> 
<div class="header"> <a href="?mod=ad&code=position mn">广告位管理</a> </div>
<div class="export_link"> <a class="button back1 back2 fr" href="?mod=ad&code=position_add">添加广告位</a> </div>
<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">

<tr class="tr_nav"> 
<td width="20%">广告位名称</td> 
<td width="5%">宽度</td> 
<td width="5%">高度</td> 
<td width="20%">广告位描述</td>  
<td width="10%" align="center">管理</td> </tr> 
<!--{if empty($position_list)}-->
 <tr>
  <td colspan="9">暂时还没有广告位，请<a href="?mod=ad&code=position_add">点此添加广告位</a>。</td>
  </tr>
   <!--{/if}--> <!--{loop $position_list $i $value}--> 
   <tr onmouseover="this.className='tr_hover'" onmouseout="this.className='tr_normal'"> 
   <td>{$value['position_name']}<br/></td> 
   <td>{$value['ad_width']}</td> 
   <td>{$value['ad_height']}</td> 
   <td>{$value['position_desc']}</td>  
   <td align="center"><a href="?mod=ad&code=position_edit&id={$value['position_id']}">修改</a> - <a href="#" title="点此删除该广告" onclick="if(confirm('您确认要删除该广告吗？')){window.location.href='?mod=ad&code=position_del&id={$value['position_id']}'}">删除</a></td> </tr> <!--{/loop}--> <tr><td colspan="9">
请注意：</td>
</tr> 
</table> <a href="?mod=ad&code=position_add" class="back1 back2">添加广告位</a> <br> <center>
{$page_arr}
</center> 
{template @admin/footer}


